#ifndef _ICONFIGURATIONSYS_H_
#define _ICONFIGURATIONSYS_H_

#include "Common.h"
#include "CCSParameter.h"

#include "IErrorHandlingSys.h"

#define CONFIGURATIONFILENAME _T("Config.ini")

class IConfigurationSys
{
public:
	static lvVoid Load();
	static lvVoid Save();
	static CCSParameter &Parameter(const lvString &cstrPath);
protected:
	virtual ~IConfigurationSys()
	{
	};

	virtual lvVoid _Load()=0;
	virtual lvVoid _Save()=0;
	virtual CCSParameter &_Parameter(const lvString &cstrPath)=0;

	static IConfigurationSys *m_pInstance;
};

#endif